home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970326-19970626 / 000105_news@columbia.edu _Mon Apr 21 11:32:24 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA02842
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 21 Apr 1997 11:32:24 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA04386
  7.     for kermit.misc@watsun; Mon, 21 Apr 1997 11:32:23 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Two bugs in C-Kermit 6.0?
  12. Date: 21 Apr 1997 15:32:14 GMT
  13. Organization: Columbia University
  14. Lines: 95
  15. Message-ID: <5jg19u$ijg$1@apakabar.cc.columbia.edu>
  16. References: <5jebj3$leu$1@nntp.Stanford.EDU>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Keywords: kermit modem C-kermit
  19. Xref: news.columbia.edu comp.protocols.kermit.misc:6923
  20.  
  21. In article <5jebj3$leu$1@nntp.Stanford.EDU>,
  22. Stewart Levin <stew@oas.Stanford.EDU> wrote:
  23. : Problem 1:
  24. : As per the Using C-Kermit 2nd edition, I changed my modem initialization
  25. : string so that the modem speaker would be turned off.  The initialization
  26. : file excerpt is:
  27. : :CUSTOM ; Customization file
  28. : ; Local Linux PC initialization - SAL 1/26/96
  29. : SET LINE /dev/modem
  30. : SET SPEED 57600
  31. :
  32. You should put these commands *after* the SET MODEM TYPE command.
  33.  
  34. : SET MODEM TYPE TELEPATH
  35. : SET MODEM COMMAND INIT-STRING \Freplace(\v(m_init),\{13},L1M0\{13})
  36. : ...
  37. And so then "show modem" should show you:
  38.  
  39.   Init-string:     ATQ0X4&N0&Y1#CLS=0S13=0S15=0S19=0L1M0\{13}
  40.  
  41. Does it?  And then if you "set dial display on" prior to dialing,
  42. does it show this string being sent to the modem?  Does the modem say OK?
  43.  
  44. : However, when I then "access" iany one of my dial-up services, them
  45. : modem speaker remains on during dialing.  Manually using the command
  46. : OUTPUT \v(m_init)
  47. : before I "access", turns it off.
  48. First of all, I think the "L1" is superfluous -- there is no need to turn
  49. down the speaker volume if you are also turning the speaker off.  Modem
  50. command processors are notoriously delicate.  If you send them strings that
  51. are too long, or you send them too fast, they are likely to become confused.
  52.  
  53. In the Telepath case, the init string is already rather long, so instead
  54. of adding to it, try adding the speaker-off command to a shorter string,
  55. such as the pulse-dialing string (which you are using):
  56.  
  57.   set modem command pulse ATM0P\{13}
  58.  
  59. and see if that doesn't do the trick.
  60.  
  61. In the next release of C-Kermit, we will probably add separate modem
  62. commands and fields to control the speaker.
  63.  
  64. : Problem 2:
  65. : After "access"ing a dial-up service, the next "access" fails complaining
  66. : that I have asked for an "unsupported speed: unknown".  Repeating the
  67. : "access" again works fine.  Other info of possible relevance: I use
  68. : the SCRIPT command to negotiate the service login sequence.
  69. :
  70. We've never had a report like this before, and can't reproduce it here.
  71. Exactly what is your SCRIPT command (obviously you should X out the userid
  72. and password, etc, before sending them in, but keep them the same length).
  73.  
  74. : Excerpted transcript:
  75. : [/etc/X11/fvwm] C-Kermit>access work
  76. : ... Connect successful, check mail, etc. then logout ...
  77. : dalts001>exit
  78. Now at this point does Kermit pop back to its prompt automatically, or
  79. did you escape back manually?
  80.  
  81. What happens if you give a HANGUP command before your next "access work"
  82. command?
  83.  
  84. : [/etc/X11/fvwm] C-Kermit>access work
  85. :  A serial connection might still be active on /dev/modem.
  86. : OK to close? y
  87. : ?No keywords match - unknown
  88. : unsupported speed: unknown
  89. : [/etc/X11/fvwm] C-Kermit>access meptec
  90. :  Trying: xxxxxxxxxx...  (Phone number omitted for security)
  91. :  Device: /dev/modem, modem: gateway-telepath, speed: 57600
  92. :  Dial timeout: 45 seconds
  93. :  To cancel: type your interrupt character (normally Ctrl-C).
  94. What would have happened here if you said "access work" rather than
  95. "access meptec"?
  96.  
  97. : ---------------------------------------------------------------
  98. : Any patches or workarounds you can suggest?
  99. Please get back to us with further details at kermit-support@columbia.edu.
  100.  
  101. - Frank